home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #9
/
Amiga Plus CD - 2004 - No. 09.iso
/
amigaplus
/
tools
/
amigaos4_only
/
ifxlite
/
imagefx3
/
rexx
/
autofx
/
paintfx.ifx.pre
< prev
next >
Wrap
Text File
|
2004-08-03
|
638b
|
30 lines
/*
* PaintFX.ifx.pre
* Written by Thomas Krehbiel
*
* Call PaintFX hook.
*
* Inputs:
* Word(Arg(1),1) = Sequence number (?)
* Word(Arg(1),2) = Total number of frames (N)
*
* Returns:
* 0 if successful, non-zero on failure
*
*/
OPTIONS RESULTS
fpath = GETCLIP('Autofx_PaintFX_Path') ; IF fpath = "" THEN fpath = "Storage/PaintFX"
ffile = GETCLIP('Autofx_PaintFX_File')
RequestFile '"Select PaintFX Style:"' '"'fpath'"' '"'ffile'"'
IF rc ~= 0 THEN EXIT rc
CALL SETCLIP('Autofx_PaintFX_Style', filereq.file)
CALL SETCLIP('Autofx_PaintFX_Path', filereq.path)
CALL SETCLIP('Autofx_PaintFX_File', filereq.file)
EXIT